INDEX OF Core JAVA
Chapter Numbers and The Topics Covered in Them
Ch-No.
Topics Covered
1
Basic
Structure of Java ProgramDifferent
Data Types, Variables ,LiteralsScanner
Class
2
Operators(
Arthimetic /Assignment / Comparison / Logical / Bitwise )Precedence
and Associativity conceptIncrement
and Decrement of integers and characters(a++ & ++a)
3
Print
ManipulationsString
ManipulationsCommands
in print like print,println ,printf, etc and Strings like .replace,etc
4
Conditional
block execution: if-else statementsRelational
Logical OperatorsSwitch
Case Break
5
While
Loop and DoWhile LoopFor
LoopContinue
In Loop
6
Concepts
of ArrayUse
of for each loop in ArrayMulti-Dimensional
Array
7
Methods
and Method OverloadingVariable
Arguments(VarArgs)Java
Recursions
8
(IMPORTANT)Introduction
to OOPS(Object Oriented Programming) and their terminologiesCreating
your own Custom Class
9
Getters
and SettersData
Hiding Using Private MethodConstructors
in Java (IMPORTANT)
10
Inheritance
and its Hierarchy , this and super keywords useInheritance
Hierarchy in ConstructorsMethod
Overriding and Dynamic-Dispatch(Runtime Polymorphism)
11
Abstract
, Interfaces & Multiple Inheritances (IMPORTANT)Extends
and Implement keywords UseInheritance
in Interfaces , Polymorphism
12
Java
Packages(UNDERSTANDING ENCAPSULATION)Access
Modifiers (IMPORTANT)Compiler,Interpreter
and Java platform dependent or not?
13
Multiprocessing
and MultiThreading in JavaJava
Thread, Runnable Interface Thread, Life Cycle Of ThreadThread
Constructors,Thread Methods and Thread Priority
14
Exceptions
, Errors and their typesHandling
Exceptions: try-catch block , nested try catch block , throw vs throws , finally block(Custom
or UserDefined)Exception by Inheriting Exception Class (IMPORTANT)
15
VERY
IMPORTANT- ACCESSING OFFICIAL JAVA DOCUMENTATION (ORACLE)ADVANCED
JAVA STARTINGCollections
FrameWork- ArrayList , LinkedList , ArrayDeque , Hashing , HashSet
16
Reference
taken for Date and TimeCalendar
Class , Gregorian CalendarAnonymous
Class or Lambda expression
CHAPTER NO - 1
File Name
Labels
Basics
and structure of java programNaming
conventions of classes and functionsDetails
of keywords like void,static,System,etc
VariablesData
typesClassification-
Primitive and Non Primitive DataTypes
Literals(Integer/
Character/Boolean/String/ Null/ Floating Point/ Backslash) literalsName
and Values that can be assigned to them
Calculator
ImportingScannerClass
to take input for user System.in
Exercise
to calculate percentage by user input for 5 subjectsUse
float or double because percentage can be in decimalsScanner
Class Used
CHAPTER NO - 1 (PRACTISE SET)
File Name
Labels
Java
program which asks user their name
and
prints Hello "name"
and
prints Hello "name"
Check
input number is integer or not(OPTIONAL)
If-Else statement
If-Else statement
CHAPTER NO - 2
File Name
Labels
(
Arthimetic /Assignment / Comparison / Logical / Bitwise ) OperatorsHow
are operators used?Explaining
Operators
Like
there is BODMAS in mathematics calculation In Java there is precedence and associativity concept for
calculationPrecedence
and Associativity concept
a++
and ++a differenceIncrement
and Decrement of integers
and characters
and characters
CHAPTER NO - 2 (PRACTISE SET)
File Name
Labels
Code
which tells us
that the given number is greater than the number defined by user
or not
that the given number is greater than the number defined by user
or not
Code
to calculate acceleration from Newton's Third equation of motionCalculate
uniform acceleration(a)
by taking value v,u, and s from user
by taking value v,u, and s from user
CHAPTER NO - 3
File Name
Labels
Different
ways to printprint()
& println()printf()
, %f , %s , %c , %d
.indexOf
, .lastIndexOf.substring
, .charAt , .trim.replace,
.toLowerCase , .length
CHAPTER NO - 3 (PRACTISE SET)
File Name
Labels
Ask
the user to input a string
and replace the space in string with an underscore
and print
and replace the space in string with an underscore
and print
Print
a letter
by putting username
where name appears in letter template
by putting username
where name appears in letter template
CHAPTER NO - 4
File Name
Labels
Conditional
block executionif
, else-if , elseUse
logical operators for multiple conditions
&&-AND
gate|
-OR gate!-NOT
gate
Used
for Strings or Integer or charactersSwitch
case breakbreak
statement is used to break the loop irrespective of where it is used
CHAPTER NO - 4 (PRACTISE SET)
File Name
Labels
Write
a code which satisfies centain conditions:3
subjects(Physics,Chemistry,Maths) each subject maximum marks 100For
passing Each subject marks atleast 33% and overall atleast 40%
INCOME
TAX TABLECalculate
your income per month(in Rs) after giving income-tax away(Use Data from table)Take
input from user
CHAPTER NO - 5
File Name
Labels
Play
rock/ paper/ scissorsGenerating
random numbers and
using switch case
using switch case
While
LoopPrint
integer numbers from 100 to 200Including
100 and 200
Difference
in while and do while loopDo
While LoopNot
Important
Print
first 10 odd numbers from 0.
Use for loopFor Loop
Use for loopFor Loop
Using
continue statement
in loop
continue statement
in loop
CHAPTER NO - 5 (PRACTISE SET)
File Name
Labels
Print
Sum of first n even integersTake value of n from user
Sum of first n even integersTake value of n from user
Print
Multiplication table of number using for loopTake value of number from user
Multiplication table of number using for loopTake value of number from user
CHAPTER NO - 6
File Name
Labels
Array
Syntax and Startingfor
loopfor
each loop
Array
inside ArrayCreating
A multi dimension array
A multi dimension array
CHAPTER NO - 6 (PRACTISE SET)
File Name
Labels
Create
an array of 5 float numbers
and display their sum
using for each loop
and display their sum
using for each loop
Create
an array
and write a code to
find its maximum element
and write a code to
find its maximum element
CHAPTER NO - 7
File Name
Labels
Main
is the method first invoked when the program is runWe
write a method once and
Use it many times
Use it many times
Method
Overloading-multiple methods > same name >different parameters and workingstatic:
All object in a class shares static method.void:
Method that returns nothing.Return type-null,(cannot use return statement )
Arguments
& ParametersVarrags(VariableArguments)
allows the method to accept zero
or multiple arguments
or multiple arguments
Recursion
in java is a process in which a method calls itself continuously till the end
CHAPTER NO - 7 (PRACTISE SET)
File Name
Labels
Method
for patternmethod
to print multiplication tableMethod
for first n natural no
CHAPTER NO - 8
File Name
Labels
OOPs
concept in Java , Class and Object in JavaAdvantage
of OOPsModel
a problem in OOP
OOP
Terminology and its basic typesEncapsulation,Inheritance,Abstraction,PolymorphismSome
other terms like Association;Coupling;etc
OOP,Class,attributesCreating
your own Java class(Custom class)Methods
CHAPTER NO - 8 (PRACTISE SET)
File Name
Labels
Create
a class Employee1 with following method and propertites:>>>
salary ..........(property)(int)
>>> getSalary.........(method returning int)
>>> name..............(property)(String)>>> getName...........(method returning string)
>>> setName............(method changing name )
>>> getSalary.........(method returning int)
>>> name..............(property)(String)>>> getName...........(method returning string)
>>> setName............(method changing name )
Create
a class CellPhone which prints "Ringing",
"Vibrating","Silent"&
"Aeroplane Mode"
"Vibrating","Silent"&
"Aeroplane Mode"
Create
a class cube and write method to calculate its:
---totalArea
---Surafce area of one-face
---Volume
Take the length of side as an input from user
---totalArea
---Surafce area of one-face
---Volume
Take the length of side as an input from user
CHAPTER NO - 9
File Name
Labels
Getter-Setter
Methodprivate(access-specifier)
and
data hiding
data hiding
What
is constructor?Overloading
ConstructorGenerating
Constructor
Make
a game Guess the number
Using constructor
and Methods and loop
Using constructor
and Methods and loop
CHAPTER NO - 9 (PRACTISE SET)
File Name
Labels
Cylinder
class and getter setter for (radius &height(Surface
Area Base & Volume of cylinder) using method
Contructor
class by selecting parameters
Click on source(Top bar) and
Click on Generator using fields(ECLIPSE IDE)
Click on source(Top bar) and
Click on Generator using fields(ECLIPSE IDE)
CHAPTER NO - 10
File Name
Labels
INHERITANCE
STARTING (IMPORTANT)Base
and Derived classes connected through inheritanceextends
keyword for inheritance
Inheritance
hierarchy for
Executing constructorsSuper keyword use
Executing constructorsSuper keyword use
What
is use of this
and
super keyword in Java?
and
super keyword in Java?
Method
Overriding In JavaRules
and
Use of Method Overriding
Use of Method Overriding
Inheritance
HierarchyDynamic
Method DispatchRuntime
Polymorphism
CHAPTER NO - 10 (PRACTISE SET)
File Name
Labels
Circle
is ParentClass and
Cylinder is ChildClassGetter and Setter for radius and height
Cylinder is ChildClassGetter and Setter for radius and height
Constructors
used to set length & width & heightRectangle
is ParentClass and
Cuboid is ChildClass
Cuboid is ChildClass
CHAPTER NO - 11
File Name
Labels
What
is abstract?Conditions
for class and
methods to be abstract
methods to be abstract
What
is interface?Reasons
for InterfaceDifferences
b/w Abstract and Interface
Multiple
InheritanceHow
Multiple Inheritance handledProblems
in Multiple Inheritance
Implementing
More than 1 interfaces & extend 1 classDefault
methodsPrivate
Methods
Conditions
that are false for InheritanceExtends
and
Implements Use
Implements Use
Refer
to
Zeek_49_DynamicDispatch_RuntimePolymorphismPolymorphism combined with inheritance
Zeek_49_DynamicDispatch_RuntimePolymorphismPolymorphism combined with inheritance
CHAPTER NO - 11 (PRACTISE SET)
File Name
Labels
Monkey
Class and interface BasicAnimals,Create
a class Humans that
inherits both Monkey and BasicAnimals
inherits both Monkey and BasicAnimals
LCD_TV
inherits TVAndroidTV
inherits LCD_TVDoes
AndroidTV inherits both TV and LCD_TV
CHAPTER NO - 12
File Name
Labels
Java
interpreted or compiledJob
of Compiler or Interpreter ?Working
of Compiler and Interpreter
What
is Java Package?Advantages
of Java PackageHow
to access package from another package?
AccessModifiers
and
what they can access
and
what they can access
CHAPTER NO - 13
File Name
Labels
What
is a thread?Multithreading
and Multiprocessing in Java?Explain
briefly,Which is more convenient?
Use
concepts of Thread and obtain concurrencyextends
Thread Classrun()
, start()
Implement
interface Runnable and obtain concurrency by threadsrun()start()
Life
Cycle of Thread-
New->Runnable->Running->Waiting->TerminatedDetails of each stage
New->Runnable->Running->Waiting->TerminatedDetails of each stage
Constructors
in Thread Class.getId().getName()
.setPriority()How
to set priorities
to threads?
to threads?
What
are Thread Methods?A
code-So that the Second thread is executed after First thread is terminated , join()
CHAPTER NO - 13 (PRACTISE SET)
File Name
Labels
Write
a code in which a thread is executed infinitely
after 10 seconds of running the codesleep()
after 10 seconds of running the codesleep()
Write
a code which gives
us the state of the thread
(i.e -if thread is new or runnable)
us the state of the thread
(i.e -if thread is new or runnable)
CHAPTER NO - 14
File Name
Labels
Types
of Errors:
--> Syntax Errors
--> Logical Errors
--> Runtime Errors
--> Syntax Errors
--> Logical Errors
--> Runtime Errors
Explain
examples of Syntax &
Logical &
Runtime errors while coding
Logical &
Runtime errors while coding
,Exception
Handling Concept5
keywords to handle ExceptionTry-Catch
block Execution
Types
of Java Exceptions and HierarchyChecked
Exception and Unchecked Exception in briefErrors
Code
which deals with
specific unchecked exceptions
in a unique way
specific unchecked exceptions
in a unique way
Nested
Try Block is
using a try block
inside another try block
using a try block
inside another try block
(Custom
or User Defined) ExceptionsInheriting
Exception ClassOverriding
methods of Exception Class
Use
of throw and throws keywordCreate
a Custom Exception class
that gives exception for Negative Radius
that gives exception for Negative Radius
In
Java
finally block is always executed
whether an exception is handled or not
finally block is always executed
whether an exception is handled or not
CHAPTER NO - 14 (PRACTISE SET)
File Name
Labels
Write
a code
which allows user to keep accessing
an array until a valid index is givenYou have 5 chances,
which allows user to keep accessing
an array until a valid index is givenYou have 5 chances,
CHAPTER NO - 15 (STARTING ADVANCED JAVA)
File Name
Labels
STARTING
ADVANCED JAVACollections
& their need & available asHierarchy
of Collection Framework
How
to access
official Java Documentation
(Oracle)
official Java Documentation
(Oracle)
Creating
ArrayList and
using methods of ArrayList.add() , .size , .indexOf() , .contain() , .get(i) , .remove() , .clear
using methods of ArrayList.add() , .size , .indexOf() , .contain() , .get(i) , .remove() , .clear
Difference
between ArrayList and LinkedList
LinkedListSome
of the methods and work of LinkedList
that are not in ArrayList
that are not in ArrayList
What
is ArrayDeque?offer
&
peek & poll
peek & poll
What
is hashing in Java and
example and why it is used?Characteristics of Hashing Algorithm
example and why it is used?Characteristics of Hashing Algorithm
What
is HashSet?Important
points about
Java HashSet class
Java HashSet class
CHAPTER NO - 16
File Name
Labels
Reference
Date and Time in JavaThis
long number[currentTimeMillis()] holds the number of milliseconds passed since 1 January 1970 till
now
Depricated
MethodsGetting
Today's Date and Time
using Java
using Java
Calendar
Class.getInstance()What
is gregory calendar?
Using
Gregorian Calendar
to print 24 and 12 hour clock time
and date also in dd/mm/yyyy format
to print 24 and 12 hour clock time
and date also in dd/mm/yyyy format
What
is an anonymous class?What
is lambda expression?
Chapter Numbers and The Topics Covered in Them
Ch-No.
Topics Covered
1
Basic
Structure of Java ProgramDifferent
Data Types, Variables ,LiteralsScanner
Class
2
Operators(
Arthimetic /Assignment / Comparison / Logical / Bitwise )Precedence
and Associativity conceptIncrement
and Decrement of integers and characters(a++ & ++a)
3
Print
ManipulationsString
ManipulationsCommands
in print like print,println ,printf, etc and Strings like .replace,etc
4
Conditional
block execution: if-else statementsRelational
Logical OperatorsSwitch
Case Break
5
While
Loop and DoWhile LoopFor
LoopContinue
In Loop
6
Concepts
of ArrayUse
of for each loop in ArrayMulti-Dimensional
Array
7
Methods
and Method OverloadingVariable
Arguments(VarArgs)Java
Recursions
8
(IMPORTANT)Introduction
to OOPS(Object Oriented Programming) and their terminologiesCreating
your own Custom Class
9
Getters
and SettersData
Hiding Using Private MethodConstructors
in Java (IMPORTANT)
10
Inheritance
and its Hierarchy , this and super keywords useInheritance
Hierarchy in ConstructorsMethod
Overriding and Dynamic-Dispatch(Runtime Polymorphism)
11
Abstract
, Interfaces & Multiple Inheritances (IMPORTANT)Extends
and Implement keywords UseInheritance
in Interfaces , Polymorphism
12
Java
Packages(UNDERSTANDING ENCAPSULATION)Access
Modifiers (IMPORTANT)Compiler,Interpreter
and Java platform dependent or not?
13
Multiprocessing
and MultiThreading in JavaJava
Thread, Runnable Interface Thread, Life Cycle Of ThreadThread
Constructors,Thread Methods and Thread Priority
14
Exceptions
, Errors and their typesHandling
Exceptions: try-catch block , nested try catch block , throw vs throws , finally block(Custom
or UserDefined)Exception by Inheriting Exception Class (IMPORTANT)
15
VERY
IMPORTANT- ACCESSING OFFICIAL JAVA DOCUMENTATION (ORACLE)ADVANCED
JAVA STARTINGCollections
FrameWork- ArrayList , LinkedList , ArrayDeque , Hashing , HashSet
16
Reference
taken for Date and TimeCalendar
Class , Gregorian CalendarAnonymous
Class or Lambda expression
CHAPTER NO - 1
File Name
Labels
Basics
and structure of java programNaming
conventions of classes and functionsDetails
of keywords like void,static,System,etc
VariablesData
typesClassification-
Primitive and Non Primitive DataTypes
Literals(Integer/
Character/Boolean/String/ Null/ Floating Point/ Backslash) literalsName
and Values that can be assigned to them
Calculator
ImportingScannerClass
to take input for user System.in
Exercise
to calculate percentage by user input for 5 subjectsUse
float or double because percentage can be in decimalsScanner
Class Used
CHAPTER NO - 1 (PRACTISE SET)
File Name
Labels
Java
program which asks user their name
and
prints Hello "name"
and
prints Hello "name"
Check
input number is integer or not(OPTIONAL)
If-Else statement
If-Else statement
CHAPTER NO - 2
File Name
Labels
(
Arthimetic /Assignment / Comparison / Logical / Bitwise ) OperatorsHow
are operators used?Explaining
Operators
Like
there is BODMAS in mathematics calculation In Java there is precedence and associativity concept for
calculationPrecedence
and Associativity concept
a++
and ++a differenceIncrement
and Decrement of integers
and characters
and characters
CHAPTER NO - 2 (PRACTISE SET)
File Name
Labels
Code
which tells us
that the given number is greater than the number defined by user
or not
that the given number is greater than the number defined by user
or not
Code
to calculate acceleration from Newton's Third equation of motionCalculate
uniform acceleration(a)
by taking value v,u, and s from user
by taking value v,u, and s from user
CHAPTER NO - 3
File Name
Labels
Different
ways to printprint()
& println()printf()
, %f , %s , %c , %d
.indexOf
, .lastIndexOf.substring
, .charAt , .trim.replace,
.toLowerCase , .length
CHAPTER NO - 3 (PRACTISE SET)
File Name
Labels
Ask
the user to input a string
and replace the space in string with an underscore
and print
and replace the space in string with an underscore
and print
Print
a letter
by putting username
where name appears in letter template
by putting username
where name appears in letter template
CHAPTER NO - 4
File Name
Labels
Conditional
block executionif
, else-if , elseUse
logical operators for multiple conditions
&&-AND
gate|
-OR gate!-NOT
gate
Used
for Strings or Integer or charactersSwitch
case breakbreak
statement is used to break the loop irrespective of where it is used
CHAPTER NO - 4 (PRACTISE SET)
File Name
Labels
Write
a code which satisfies centain conditions:3
subjects(Physics,Chemistry,Maths) each subject maximum marks 100For
passing Each subject marks atleast 33% and overall atleast 40%
INCOME
TAX TABLECalculate
your income per month(in Rs) after giving income-tax away(Use Data from table)Take
input from user
CHAPTER NO - 5
File Name
Labels
Play
rock/ paper/ scissorsGenerating
random numbers and
using switch case
using switch case
While
LoopPrint
integer numbers from 100 to 200Including
100 and 200
Difference
in while and do while loopDo
While LoopNot
Important
Print
first 10 odd numbers from 0.
Use for loopFor Loop
Use for loopFor Loop
Using
continue statement
in loop
continue statement
in loop
CHAPTER NO - 5 (PRACTISE SET)
File Name
Labels
Print
Sum of first n even integersTake value of n from user
Sum of first n even integersTake value of n from user
Print
Multiplication table of number using for loopTake value of number from user
Multiplication table of number using for loopTake value of number from user
CHAPTER NO - 6
File Name
Labels
Array
Syntax and Startingfor
loopfor
each loop
Array
inside ArrayCreating
A multi dimension array
A multi dimension array
CHAPTER NO - 6 (PRACTISE SET)
File Name
Labels
Create
an array of 5 float numbers
and display their sum
using for each loop
and display their sum
using for each loop
Create
an array
and write a code to
find its maximum element
and write a code to
find its maximum element
CHAPTER NO - 7
File Name
Labels
Main
is the method first invoked when the program is runWe
write a method once and
Use it many times
Use it many times
Method
Overloading-multiple methods > same name >different parameters and workingstatic:
All object in a class shares static method.void:
Method that returns nothing.Return type-null,(cannot use return statement )
Arguments
& ParametersVarrags(VariableArguments)
allows the method to accept zero
or multiple arguments
or multiple arguments
Recursion
in java is a process in which a method calls itself continuously till the end
CHAPTER NO - 7 (PRACTISE SET)
File Name
Labels
Method
for patternmethod
to print multiplication tableMethod
for first n natural no
CHAPTER NO - 8
File Name
Labels
OOPs
concept in Java , Class and Object in JavaAdvantage
of OOPsModel
a problem in OOP
OOP
Terminology and its basic typesEncapsulation,Inheritance,Abstraction,PolymorphismSome
other terms like Association;Coupling;etc
OOP,Class,attributesCreating
your own Java class(Custom class)Methods
CHAPTER NO - 8 (PRACTISE SET)
File Name
Labels
Create
a class Employee1 with following method and propertites:>>>
salary ..........(property)(int)
>>> getSalary.........(method returning int)
>>> name..............(property)(String)>>> getName...........(method returning string)
>>> setName............(method changing name )
>>> getSalary.........(method returning int)
>>> name..............(property)(String)>>> getName...........(method returning string)
>>> setName............(method changing name )
Create
a class CellPhone which prints "Ringing",
"Vibrating","Silent"&
"Aeroplane Mode"
"Vibrating","Silent"&
"Aeroplane Mode"
Create
a class cube and write method to calculate its:
---totalArea
---Surafce area of one-face
---Volume
Take the length of side as an input from user
---totalArea
---Surafce area of one-face
---Volume
Take the length of side as an input from user
CHAPTER NO - 9
File Name
Labels
Getter-Setter
Methodprivate(access-specifier)
and
data hiding
data hiding
What
is constructor?Overloading
ConstructorGenerating
Constructor
Make
a game Guess the number
Using constructor
and Methods and loop
Using constructor
and Methods and loop
CHAPTER NO - 9 (PRACTISE SET)
File Name
Labels
Cylinder
class and getter setter for (radius &height(Surface
Area Base & Volume of cylinder) using method
Contructor
class by selecting parameters
Click on source(Top bar) and
Click on Generator using fields(ECLIPSE IDE)
Click on source(Top bar) and
Click on Generator using fields(ECLIPSE IDE)
CHAPTER NO - 10
File Name
Labels
INHERITANCE
STARTING (IMPORTANT)Base
and Derived classes connected through inheritanceextends
keyword for inheritance
Inheritance
hierarchy for
Executing constructorsSuper keyword use
Executing constructorsSuper keyword use
What
is use of this
and
super keyword in Java?
and
super keyword in Java?
Method
Overriding In JavaRules
and
Use of Method Overriding
Use of Method Overriding
Inheritance
HierarchyDynamic
Method DispatchRuntime
Polymorphism
CHAPTER NO - 10 (PRACTISE SET)
File Name
Labels
Circle
is ParentClass and
Cylinder is ChildClassGetter and Setter for radius and height
Cylinder is ChildClassGetter and Setter for radius and height
Constructors
used to set length & width & heightRectangle
is ParentClass and
Cuboid is ChildClass
Cuboid is ChildClass
CHAPTER NO - 11
File Name
Labels
What
is abstract?Conditions
for class and
methods to be abstract
methods to be abstract
What
is interface?Reasons
for InterfaceDifferences
b/w Abstract and Interface
Multiple
InheritanceHow
Multiple Inheritance handledProblems
in Multiple Inheritance
Implementing
More than 1 interfaces & extend 1 classDefault
methodsPrivate
Methods
Conditions
that are false for InheritanceExtends
and
Implements Use
Implements Use
Refer
to
Zeek_49_DynamicDispatch_RuntimePolymorphismPolymorphism combined with inheritance
Zeek_49_DynamicDispatch_RuntimePolymorphismPolymorphism combined with inheritance
CHAPTER NO - 11 (PRACTISE SET)
File Name
Labels
Monkey
Class and interface BasicAnimals,Create
a class Humans that
inherits both Monkey and BasicAnimals
inherits both Monkey and BasicAnimals
LCD_TV
inherits TVAndroidTV
inherits LCD_TVDoes
AndroidTV inherits both TV and LCD_TV
CHAPTER NO - 12
File Name
Labels
Java
interpreted or compiledJob
of Compiler or Interpreter ?Working
of Compiler and Interpreter
What
is Java Package?Advantages
of Java PackageHow
to access package from another package?
AccessModifiers
and
what they can access
and
what they can access
CHAPTER NO - 13
File Name
Labels
What
is a thread?Multithreading
and Multiprocessing in Java?Explain
briefly,Which is more convenient?
Use
concepts of Thread and obtain concurrencyextends
Thread Classrun()
, start()
Implement
interface Runnable and obtain concurrency by threadsrun()start()
Life
Cycle of Thread-
New->Runnable->Running->Waiting->TerminatedDetails of each stage
New->Runnable->Running->Waiting->TerminatedDetails of each stage
Constructors
in Thread Class.getId().getName()
.setPriority()How
to set priorities
to threads?
to threads?
What
are Thread Methods?A
code-So that the Second thread is executed after First thread is terminated , join()
CHAPTER NO - 13 (PRACTISE SET)
File Name
Labels
Write
a code in which a thread is executed infinitely
after 10 seconds of running the codesleep()
after 10 seconds of running the codesleep()
Write
a code which gives
us the state of the thread
(i.e -if thread is new or runnable)
us the state of the thread
(i.e -if thread is new or runnable)
CHAPTER NO - 14
File Name
Labels
Types
of Errors:
--> Syntax Errors
--> Logical Errors
--> Runtime Errors
--> Syntax Errors
--> Logical Errors
--> Runtime Errors
Explain
examples of Syntax &
Logical &
Runtime errors while coding
Logical &
Runtime errors while coding
,Exception
Handling Concept5
keywords to handle ExceptionTry-Catch
block Execution
Types
of Java Exceptions and HierarchyChecked
Exception and Unchecked Exception in briefErrors
Code
which deals with
specific unchecked exceptions
in a unique way
specific unchecked exceptions
in a unique way
Nested
Try Block is
using a try block
inside another try block
using a try block
inside another try block
(Custom
or User Defined) ExceptionsInheriting
Exception ClassOverriding
methods of Exception Class
Use
of throw and throws keywordCreate
a Custom Exception class
that gives exception for Negative Radius
that gives exception for Negative Radius
In
Java
finally block is always executed
whether an exception is handled or not
finally block is always executed
whether an exception is handled or not
CHAPTER NO - 14 (PRACTISE SET)
File Name
Labels
Write
a code
which allows user to keep accessing
an array until a valid index is givenYou have 5 chances,
which allows user to keep accessing
an array until a valid index is givenYou have 5 chances,
CHAPTER NO - 15 (STARTING ADVANCED JAVA)
File Name
Labels
STARTING
ADVANCED JAVACollections
& their need & available asHierarchy
of Collection Framework
How
to access
official Java Documentation
(Oracle)
official Java Documentation
(Oracle)
Creating
ArrayList and
using methods of ArrayList.add() , .size , .indexOf() , .contain() , .get(i) , .remove() , .clear
using methods of ArrayList.add() , .size , .indexOf() , .contain() , .get(i) , .remove() , .clear
Difference
between ArrayList and LinkedList
LinkedListSome
of the methods and work of LinkedList
that are not in ArrayList
that are not in ArrayList
What
is ArrayDeque?offer
&
peek & poll
peek & poll
What
is hashing in Java and
example and why it is used?Characteristics of Hashing Algorithm
example and why it is used?Characteristics of Hashing Algorithm
What
is HashSet?Important
points about
Java HashSet class
Java HashSet class
CHAPTER NO - 16
File Name
Labels
Reference
Date and Time in JavaThis
long number[currentTimeMillis()] holds the number of milliseconds passed since 1 January 1970 till
now
Depricated
MethodsGetting
Today's Date and Time
using Java
using Java
Calendar
Class.getInstance()What
is gregory calendar?
Using
Gregorian Calendar
to print 24 and 12 hour clock time
and date also in dd/mm/yyyy format
to print 24 and 12 hour clock time
and date also in dd/mm/yyyy format
What
is an anonymous class?What
is lambda expression?
Comments
Post a Comment