Java Internship Presentation Final
Java Internship Presentation Final
ON
JAVA-FULL STACK
DEVELOPMENT
DECLARATI
ON
I, Akash KS, hereby declare that this internship report work entitled
“Java FULL STACK DEVELOPER” is submitted in partial fulfillment for
the award of the degree of BACHELOR OF COMPUTER APPLICATIONS,
Bangalore University.
I further declare that I have not submitted this project report either in part
or in full to any other university for the award of any degree.
Akash KS (U03MS21S0026)
Place: Bangalore
2
INTERNSHIP
OVERVIEW
Basics and Execution of java
program
Features of Java
Datatype
Conditional Statements
Inheritance
3
What is Java?
Java is a high-level programming language
which is used to communicate with computer &
machines in order to perform specifi c tasks.
IDENTIFIERS
Any names which is used in a java program by the
user to refer a value can be called as Identifiers
VARIABLES
It is a container or a memory location which is used
to save data or information
3. Int 3. Arrays
4. long more….
and -char : to represent 1 symbol and must
5. float be enclosed in single quotes
Example: ‘A’, ‘4’, ‘$’
6. double
7. Char -boolean : true,
8. boolean false
CONDITIONAL STATEMENTS
The statements which is used to execute the implementation
based on the condition provided.
Simple-if:
It will execute its implementation only if the given condition is true.
If-else:
else is a dependent conditional statement which will only execute its
implementations when if condition becomes false and it doesn’t have any
conditions.
else-if ladder:
when we have multiple condition and each condition has its own
implementation then we use else-if ladder.
Nested if:
writing a “if” condition inside another conditional statement is called nested
if.
8
FUNCTIONS & RETURN TYPES
Function-It is a block of code or a set of instructions which is used
to perform a particular task
return-It is a keyword in java which is used to come out of the function with
some value, the kind of data which has been returned by the return keyword
is called return type
Parameters – Parameters are basically variables which stores arguments
Arguments are the values passed by the user while calling a function
Different
scenarios without parameters & without return type
1.Function 2.Function with parameter & without
return type
3.Function with return type & no parameters 4.Function with parameters & return
Example
type
public class Example { public static void
static boolean evenOdd(int main(String[] args) {
num){ boolean check =evenOdd(13);
if(num%2==0) { System.out.println(check);
return true; }
} }
return false; 9
CLASSES & OBJECTS
Class
A class is a definition block that is used to
define the states & behavior of an object
• A class contains members
OOP’s
• Members are classified into 1) data
members
2) member
function
object
An object is a real world entity that has its own
states and behavior
syntax:
classname reference variable = new
classname();
Constructors Overloading
It is the concept of developing multiple constructors inside the same
class.
During constructor overloading each and every constructors in the class
should have different arguments
Example:
class Over{ public class Example
Over(int a){ {
System.out.println(a public static void
); main(String[] args)
} {
Over(double d){ Over d1=new Over(5);
System.out.println(d Over d2=new
); Over(10.56); 11
INHERITAN
CE
Inheritance is the concept of a class aquiring the properties of an another class.
Inheritance can be done using the keyword “extends”.
Multiple Inheritance – One sub class will try to directly inherit the
properties of more than one super class. This form of inheritance is illegal
12
and not supported using classes.
FINAL THOUGHTS
13
THANK YOU
Akash KS
U03MS21S0026
Bangalore University
14