app.service("UserEmailService", function(){
var email = [];
var setEmail = function(val) {
email.push(val);
};
var getEmail = function() {
return email.pop();
};
return {
setEmail : setEmail,
getEmail : getEmail
};
});
hduser@renjith-Inspiron-3542:~/Documents/Skillset_Modify/java_UpSkill$ javac -cp ~/Documents/Skillset_Modify testConstructor.java
错误:
hduser@renjith-Inspiron-3542:~/Documents/Skillset_Modify/java_UpSkill$ java -cp ~/Documents/Skillset_Modify testConstructor
有人可以告诉我为什么会这样吗?
答案 0 :(得分:0)
从java -cp ~/Documents/Skillset_Modify;. testConstructor
~/Documents/Skillset_Modify/java_UpSkill directory/