Difference between Primary key and unique key?

Answer Posted / deepali b. baviskar

Unique key can be NULL but Primary key couldn't be NULL.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stack example?

539


Can extern variables be initialized?

507


What is the access scope of protected access specifier?

531


How can we create objects if we make the constructor private ?

535


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

580






Explain about the interpreter in java?

619


Explain the use of volatile field modifier?

629


What is method overriding in java ?

650


What restrictions are placed on method overriding in java programming?

536


What are basic keywords?

552


How many types of the indexof method are there for strings?

485


What are the important features of Java 8 release?

570


Can java object be locked down for exclusive use by a given thread?

578


How do you check if two given string are anagrams?

551


How many threads can I run java?

536