More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know.
Ans. Hub and Extended sites /stores are used in case of selling through partners and affiliates. Hub is the central site around which extended stores are created by/for the respective partner / affiliate. Store owner performs the extended site administrations whereas overall control over merchandise remains with the site.
Help us improve. Please let us know the company, where you were asked this question :
Ans. B2C business deals with selling merchandise directly to consumers whereas B2B business deals with selling / coordination with other businesses ( partners , distributors , affiliates etc ) for selling merchandise.
Help us improve. Please let us know the company, where you were asked this question :
Ans. Product refer to category of Items and hence can't be associated to a particular Stock keeping unit. Items can only be targeted while creating promotions.
Help us improve. Please let us know the company, where you were asked this question :
Ans. There are three elements i.e Users ( Who want access ) , Actions ( What kind of Access ) and Resources ( Whose Access ). The relationship between resource and user is store in ACRELATION table and ACRESREL associate a resource and relationship.
Help us improve. Please let us know the company, where you were asked this question :
Ans. String class has a public method intern() that returns a canonical representation for the string object. String class privately maintains a pool of strings, where String literals are automatically interned.
these are automatically interned so as to have efficient String comparison using == operator instead of equals which is usually slower.
Help us improve. Please let us know the company, where you were asked this question :
Ans. 1. Security and Safety - They can be shared across multiple threads as they are thread safe. Moreover, it protects then from bad state due to interception by the other code segment. One such problem due to mutability and access by alternate code segment could be the change of hash code and then the impact on its search with hash collections.
2. Reuse - In some cases they can be reused as only one copy would exist and hence it can be relied upon. For example - String Pool
Help us improve. Please let us know the company, where you were asked this question :
Ans. Scala code is more concise and hence easy to read and maintain. It supports all features of functional programming and provide a pure object oriented way of application creation. It is ideal for creating all scales of applications. It is inter operable with Java code and hence can import / use Java libraries and frameworks.
Help us improve. Please let us know the company, where you were asked this question :
Ans. Scala is a general purpose programming language that runs on JVM. Its completely inter operable with Java, purely object oriented and has full support for functional programming and a strong static type system.
Help us improve. Please let us know the company, where you were asked this question :
Ans. Similarities - Both and Object Oriented and Statically typed languages that runs on JVM.
Difference - Unlike Java, Scala is a Pure Object Oriented language as it doesn't use primitives and static variables.Unlike Java 8 which supports some functional programming concepts, Scala provides support for all functional programming concepts. Java 8 does not support Pattern Matching, Function Currying etc
Help us improve. Please let us know the company, where you were asked this question :