Java Object oriented programming - Study24x7
Social learning Network

Welcome Back

Get a free Account today !

or

Forgot password?

By Registering, you agree to our Privacy Policy and Terms of use.

Java Object oriented programming Cover image
Java Object oriented programming
Java Object oriented programming
  • Followers
  • Latest Feeds
  • Articles
  • Question
  • Course
  • About
  • Review
Interests
IIT Entrance Class 10 Java Technologies Digital Marketing ...
24 followers study24x7 10 Dec 2020 03:02 PM study24x7 study24x7

public abstract interface Frobnicate { public void twiddle(String s); } Which is a correct class?

A

public abstract class Frob implements Frobnicate { public abstract void twiddle(String s) { } }

B

public abstract class Frob implements Frobnicate { }

C

public class Frob extends Frobnicate { public void twiddle(Integer i) { } }

D

public class Frob implements Frobnicate { public void twiddle(Integer i) { } }

study24x7
Write a comment
24 followers study24x7 10 Dec 2020 03:01 PM study24x7 study24x7

What will be output when you will execute following c code?
#include <stdio.h>
void main(){
    signed int a = -1;
    unsigned int b = -1u;
    if(a == b)
         printf( "The Lord of the Rings" );
    else
         printf( "American Beauty" );
}

A

The Lord of the Rings

B

American Beauty

C

Compilation error: Cannot compare signed number with unsigned number

D

Warning: Illegal operation

study24x7
Write a comment
24 followers study24x7 10 Dec 2020 03:00 PM study24x7 study24x7

Unreachable code would best be found using?

A

code inspections

B

a static analysis tool

C

code reviews

D

a test management tool

study24x7
Write a comment
24 followers study24x7 10 Dec 2020 02:59 PM study24x7 study24x7

Which of the following is not part of performance testing?

A

simulating many users

B

measuring response times

C

generating many transactions

D

recovery testing

study24x7
Write a comment
24 followers study24x7 10 Dec 2020 02:56 PM study24x7 study24x7

main(){char *p; p = "Hello";printf ("%cn", *&*p);}

A

H

B

Hello

C

Compilation error

D

H E L L

study24x7
Write a comment
24 followers study24x7 10 Dec 2020 02:55 PM study24x7 study24x7

What will be output of following c code?#include <stdio.h>int main(){
    int x=123;
    int i={
         printf("c" "++")
    };
    for(x=0;x<=i;x++){
         printf("%x ",x);
    }
    return 0;}

A

c++0 1 2 3

B

0 1 2 3

C

c++

D

None of the above

study24x7
Write a comment
24 followers study24x7 27 Nov 2020 06:42 PM study24x7 study24x7

https://youtu.be/WOUpjal8ee4 How to be a Java Programmer | What is Java By-Telusko If you are a beginner then this is the best channel which gives you each and every detail of java, #JAVA #learning #education #it #computerscience #learningtechnology #study24x7

study24x7
Write a comment
Ratings
5.0
out of 5
1 Ratings
5 study24x7
 
1.0
4 study24x7
 
0.0
3 study24x7
 
0.0
2 study24x7
 
0.0
1 study24x7
 
0.0
Related Pages

Topline Coaching

2943 followers

General Science and ..

2192 followers

Daily Current Affair..

1652 followers

Just Asking - Lets c..

1653 followers

Learn N Share - Get ..

1412 followers

General Knowledge An..

1344 followers

English with Astute ..

1239 followers

SSC 2021 Preparation..

1183 followers

GOVERNMENT JOB NOTIF..

1154 followers

RAU IAS COACHING

1139 followers

Psychology decoded

1008 followers

Uphaar Classes - By ..

985 followers

TARGET SUCCESS

983 followers

UPSC Civil Services ..

961 followers

Ashok Meena

950 followers

UPSC & State PSC..

812 followers

Abhiyan Civil Servic..

773 followers

Study24x7

688 followers

Reasoning with Rizwa..

673 followers

Maths By Uttam Sir

650 followers

Maths

632 followers

Results Alert

583 followers