JAVA Program | computer science UGC NET previous year question with solutions

preview_player
Показать описание
#JAVAProgram | #computerscience #UGCNET previous year question with solutions
#computerteacher
#computerinstructor
#computeranudeshak
JAVA Program | computer science UGC NET previous year question with solutions

What is the output of the following JAVA program ?
class simple
{
public static void main(String[ ] args)
{
simple obj = new simple( );
}
void start( )
{
long [ ] P= {3, 4, 5};
long [ ] Q= method (P);
}
long [ ] method (long [ ] R)
{
R [1]=7;
return R;
}
} //end of class
(1) 12 : 15 (2) 15 : 12 (3) 12 : 12 (4) 15 : 15

Join me on
Instagram : computer4quant
Twitter: @computer4quant

Disclaimer - video is for educational purpose only. Copyright Disclaimer Under Section 107 of Copyright Act 1976, Allowance is made for "Fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research, Fair use is a sue permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.
Рекомендации по теме