search
Log In
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
2 votes
1.4k views

It is possible to define a class within a class termed as nested class. There are __ types of nested classes

  1. 2
  2. 3
  3. 4
  4. 5
in Object Oriented Programming
recategorized by
1.4k views

1 Answer

3 votes

ans should be C 

There are four kinds of nested class in Java. In brief, they are:

0
There are two types of nested classes  in Java(Static and Non Static) in whole ..Sir you have narrowed down to a deeper level of categorizing Static and Non static Classes

Static

Non Static

Related questions

2 votes
1 answer
1
1.4k views
When one object reference variable is assigned to another object reference variable then a copy of the object is created a copy of the reference is created a copy of the reference is not created It is illegal to assign one object reference variable to another object reference variable
asked Aug 20, 2016 in Object Oriented Programming jothee 1.4k views
0 votes
1 answer
2
96 views
Given the array of integers ‘array’ shown below: $\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline 13 & 7 & 27 & 2 & 18 & 33 & 9 & 11 & 22 & 8 \\ \end{array}$ What is the output of the following JAVA statements? int[]p= new int [10]; int[]q= new int [10]; for ( int k=0; k<10; k++) p[k]= array [k]; q=p; p[4]=20; System.out.println(array[4]+":"+q[4]); $20:20$ $18:18$ $18:20$ $20:18$
asked Mar 24 in Object Oriented Programming jothee 96 views
2 votes
1 answer
3
1k views
The Servlet Response interface enables a servlet to formulate a response for a client using the method void log(Exception e, String s) void destroy() int get ServerPort() void set ContextType(String Type)
asked Aug 1, 2016 in Object Oriented Programming jothee 1k views
2 votes
2 answers
4
895 views
Implicit return type of a class constructor is not of class type itself class type itself a destructor of class type a destructor not of class type
asked Aug 20, 2016 in Object Oriented Programming jothee 895 views
...