Java Programming Tutorial

UNIT - 7


Methods or Functions

Need of Methods

Advantages of Methods

Types of Methods

Method Definition

Creating objects

Execution of Method

Calling Method through Objects

Parameters and Arguments

Return Statement

Using Variables in a Function

Calling Parameterized Method

Categories of Functions

Argument to Methods

Pure and Impure Methods

Function Overloading

Using Static Functions

Question & Answer

UNIT - 8

Class As a User Defined Data Type

Defining Class

Defining Methods

Accessing Variables and Functions using objects

Controlling Access to Members of Class

This Keyword

Wrapper Classes

Question & Answer

UNIT - 9


Need for Constructors

Types of Constructors

Constructor Overloading

Copy Constructor

Question & Answer

UNIT - 10

Using Library Classes


Advantages of Packages

Types of Package

Creating Package

import Statement

Input and Output

IO Stream

Categories of Stream

IO Classes

Exception Handling

Scanner Class and Functions

Token Checking Functions

Question & Answer

UNIT - 11


Definition of Array

Declaration of Array

Allocating memory to array

Dimensions of an array

One Dimension Array

Memory representation of one dimension Array

Initializing Array element during declaration

Accessing Array elements using for Loop

Runtime error while using arrays

Array as an Argument

Searching Elements in an array

Sorting an Array

Two Dimensional Array

Question & Answer

UNIT - 12


String Handling

Creating String Explicitly

Functions of the String Class

StringBuffer Class

Comparison between string and StringBuffer

String Array

String Tokenizer

Question & Answer

UNIT - 13

Encapsulation and Inheritance

Access Specifiers

Scope and Visibility of variables

Instance and Argument Variables

Local Variables

Lifetime of a variable


Question & Answer

UNIT - 14

File Handling

Question & Answer

UNIT - 15


Recursive Function

Question & Answer

UNIT - 16


Question & Answer

UNIT - 17

Exception Handling

Introduction to Exception

Exception Handling Mechanism

The Try Block

The Catch Block

Exception Types

Checked Exception

The Multiple Catch Block

Throw Keyword

Throws Keyword

The Finally Block

User Defined Exception

Question & Answer

UNIT - 18

Multi Threading

Question & Answer

UNIT - 19


Question & Answer

UNIT - 20


Introduction to Graphics

Drawing Lines

Drawing Rectangle

Drawing Ovals

Drawing Arcs

Drawing Polygons

Drawing Polyline


Question & Answer

UNIT - 21

AWT and Event Handling

Question & Answer

UNIT - 22


Question & Answer

UNIT - 23

Remote Method Invocation RMI

Question & Answer

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz