Author Topic: JAVA CERTIFICATION? NASUBUKAN NYO NA?  (Read 122 times)

0 Members and 1 Guest are viewing this topic.

Offline Transformer10

  • Full Member
  • *
  • Posts: 104
  • Karma: +0/-0
    • View Profile
JAVA CERTIFICATION? NASUBUKAN NYO NA?
« on: March 29, 2010, 01:30:31 PM »
Ask ko lang po.. sino sino po d2 ang mga PINOY JAVA CERTIFIED PROFESSIONALS? MERON PO BA D2?

Techronnati | where technology never sleeps

JAVA CERTIFICATION? NASUBUKAN NYO NA?
« on: March 29, 2010, 01:30:31 PM »

Mountain View

Offline TDelight

  • Newbie
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: JAVA CERTIFICATION? NASUBUKAN NYO NA?
« Reply #1 on: November 19, 2014, 01:43:36 AM »
I've tried the java exam. medyo mahirap sya. kelangan mo talaga mag aral.

Offline arpee

  • EquiBerks
  • Jr. Member
  • *
  • Posts: 81
  • Karma: +1/-0
    • View Profile
Re: JAVA CERTIFICATION? NASUBUKAN NYO NA?
« Reply #2 on: July 21, 2016, 01:36:57 AM »
Certified for Java 6

Offline h2obubbler

  • Full Member
  • *
  • Posts: 228
  • Karma: +0/-0
  • Life is like a box of chocolate.
    • View Profile
Re: JAVA CERTIFICATION? NASUBUKAN NYO NA?
« Reply #3 on: July 21, 2016, 01:38:26 AM »
How about Java 7 or Java 8 may mga experts ba dito sa Java 8? Sa mga nag exam na ng Java 7. would you recommend getting the Java8 na? or the Java 7 certification exam?

Offline LadyProgrammer

  • Full Member
  • *
  • Posts: 118
  • Karma: +0/-0
    • View Profile
Re: JAVA CERTIFICATION? NASUBUKAN NYO NA?
« Reply #4 on: November 18, 2016, 05:25:25 AM »
Certified here:

Just want to share some of the Java Encapsulation mock questions

This is another post in the series of mock questions for Java exam. One of the exam objective is “Apply encapsulation principles to a class”.
This exam objective tests your knowledge on how to write a class that meets the encapsulation principles and validate your understanding.
I have prepared a set of good mock questions for this objective that might be useful for the readers who are preparing for the Java 8 certification exam.

Encapsulation mock questions

1. Which Java feature uses access modifiers to protect class data (variables)?

A. Abstraction
B. Inheritance
C. Polymorphism
D. Encapsulation
E. Data hiding


2. What is Encapsulation ?

A. Variables are public and public setter/getter methods are provided to change/access their values.
B. Variables are default and protected setter/getter methods are provided to change/access their values.
C. Variables are protected and public setter/getter methods are provided to change/access their values. D. Variables are private and protected setter/getter methods are provided to change/access their values.
E. Variables are private and public setter/getter methods are provided to change/access their values.


3. Which are true about Encapsulation ? (select 2 options)

A. A class can have total control over what data is stored in its fields.
B. Classes can get functionality from other classes.
C. Classes expose only certain fields and methods to other classes for access.
D. Classes contains abstract methods which must be implemented by it’s sub classes.


 4. How can you make the below class to exhibit fully encapsulation ?
view plainprint?
public class Student { 
 public int id; 
 protected String name; 
 
 public int getId() { 
  return id; 
 } 
 
 public void setId(int id) { 
  this.id = id; 
 } 
 
 public String getName() { 
  return name; 
 } 
 

A. No need of changes.
B. Make all properties private.
C. Make all methods protected.
D. Make all properties private and provide setter method for name property.
E. Make all properties private and remove setter method for id property.


5. How can you make the below class to exhibit fully encapsulation ?

Code: [Select]
view plainprint?
public class Rectangle { 
 public int length; 
 public int width; 
 public int area; 
 
 public void setLength(int length) { 
  this.length = length; 
  calculateArea(); 
 } 
 
 public void setWidth(int width) { 
  this.width = width; 
  calculateArea(); 
 } 
 
 private void calculateArea() { 
  this.area = this.length * this.width; 
 
 } 
 
 protected int getArea() { 
  return area; 
 } 
 
A. No need of changes.
B. Make all properties private.
C. Make all methods protected.
D. Make all properties private and provide setter method for area property.
E. Make all properties private and getArea method public.





Answers

1. Correct option : D Encapsulation uses access modifiers to protect variables.
2. Correct option : E To make a class as fully encapsulated, make variables as private and provide setters methods to assign or change variable values and provide getters methods to get variable values.
3. Correct options : A, C With Encapsulation your classes can expose only certain fields and methods to other classes for access and class can have total control over what data is stored in its fields.
4. Correct option : D To make the above class as fully encapsulated, make all variables as private and give setter method for name property for assigning data to name property.
5. Correct option : E To make the above class as fully encapsulated, make all variables as private and give public to getArea method.

If you are preparing for the Java certification exam, the following references would be much useful.


Offline GBTalk

  • Full Member
  • *
  • Posts: 184
  • Karma: +0/-0
    • View Profile
Re: JAVA CERTIFICATION? NASUBUKAN NYO NA?
« Reply #5 on: November 22, 2016, 02:20:53 AM »
@LadyProgrammer. mahirap ba yung exam ng Java 8?

Magkano binayad mo para sa exam at saan ka nag take?

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
163 Views
Last post July 25, 2016, 03:12:41 AM
by JusticeLeague
1 Replies
65 Views
Last post December 14, 2016, 11:34:18 AM
by MrSpecialist
6 Replies
118 Views
Last post August 22, 2016, 08:00:05 AM
by MrSpecialist
12 Replies
361 Views
Last post August 24, 2016, 01:19:14 AM
by MoneyRepublic
1 Replies
171 Views
Last post March 14, 2017, 12:42:03 PM
by MrSpecialist

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.