0% found this document useful (0 votes)
5 views6 pages

MCA I Java Assignment03

The document appears to be a collection of notes or code snippets related to programming concepts, particularly focusing on class structures and methods in a programming language. It includes references to public classes, constructors, and methods, as well as issues related to compilation and access modifiers. The content is fragmented and lacks coherent structure, making it challenging to derive a clear context or purpose.

Uploaded by

Vidhi Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views6 pages

MCA I Java Assignment03

The document appears to be a collection of notes or code snippets related to programming concepts, particularly focusing on class structures and methods in a programming language. It includes references to public classes, constructors, and methods, as well as issues related to compilation and access modifiers. The content is fragmented and lacks coherent structure, making it challenging to derive a clear context or purpose.

Uploaded by

Vidhi Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ASSSnménJ Mlash Bus

Rotl od 2120<.
Page No. 0
no o3,

Div'- B Date

1lhea sthe put hollo in frsaan 2


lass Dve

publieyoid SehDeils ()

SuomOA i n (*DeÁed clacs'")

publicle Te e-jen d& bejvd

1gmked Void gaDeu lS )

Sqhem , priuHn (Te Class")

pulicSic Vold main(sigtJags)

cd dbj= nes TestU / in 2


DiceDeüls{

put

Cprpila'o due to acces mod

Eplani on i
oveiOVen dde menod Can ho a difen acceis modd
Cannot teouY he acce Sgope
Mehods decloae pslic jn Supesclassalio m
a Subclass,
puslfc
Nais G. Buise
PageNo. 022
Rot nof 2)20 Date

00P he t
pninúpk
( s Fundanee cla
S a u u -Aedecd
inshante a hpre
e a h
lass
a
Muy thurr
prese
Lpablic
makinsPD
cla6s,
Asth pas N Cau
ess isibk_ wold viblek fldeqi Coudd the
parua
Clacs

*ACt changes
Public Clags Deiuad

pslic Void Gerb e a s )

SHm.NA, pidHn Test Class"))_

Pwsire Skui void moin ( Shio a qs)

beived 0 j e ned es )
obi geDCJailst)_

Cdmi est class.

M e AVLOIuaE etc
Maish% Cuise i
Roll ndL 2120
Page No. 3
Date

q2 ClassTemp

pivau Tonp li_daa)

Stern u in"Con^hutkes Cautd )

tokd Shic Timp Greae li da)

Tenp dki= nedTmp (daa


ehunOb

publCyoid m ehod )

sytem.up m h Mehod Catd " .

public clacs

publícSuic Void mein(ShincI a-sqs)

Tenp obi eTemp. Crtalt. (20)

opu
Conshmuute Caed
riehod CaUed

ConShruto uedTehod
( ompilai oo e
Rujm er

Non

48MPA
Mash Bus

Rotl nd 21 20 Page No.b4


Date

eass pteeeE

3 class Tet

pkks iu X

Class Man_
mui'nSng IS T))
puslit Shute void

Tes t= neu Test O


txt t.y);
qHen muth

Compile e
Ruime

classTeSH

puslie Steuic Void main (Sho S s t )

Hemgut iHh Hlo"),.


brea)

e 17
Maish . Buls
Rolnd 21 26. PageNo. OS
Date

Helo
OCampi lahjon e t
QRuAhme e
) Nonc

UoTu dlved Com pilaHsn blem TIPtmiima


Conye m o buleo

2planatitn

fo w E nigrut Sywkak
tor Solvinguis we need
1S

o Cid i o, J LE 1 brcause i ff s a dead


Code

S puslicClass Maio

pbicStaic yoidafs Sing s)_


S UpriHn shin")

tnublic SkHeVold afs objee o

public Stte Void maln ( Sins drs t _

3
4BM ndClass.
ufS
sh a.
a
Roll nof 21 206
Page No.
Date

Smo
Compilaido ere
nu
DLjeet

You might also like